import {request} from '../utils/request'

export const loginAPI = (formData)=> {
    return request({
        url:'/authorizations',
        method:'POST',
        data:formData
    })
}

export const getProfileAPI = ()=> {
    return request({
        url:'/user/profile',
        method:'get',
    })
}